package study.spring.core.listener;

import org.springframework.context.ApplicationEvent;

public class CustomEvent extends ApplicationEvent {


  private String customString;

  /**
   * Create a new ApplicationEvent.
   *
   * @param source the object on which the event initially occurred (never {@code null})
   */
  public CustomEvent(Object source) {
    super(source);
  }

  public String getCustomString() {
    return customString;
  }

  public void setCustomString(String customString) {
    this.customString = customString;
  }
}
